package com.patterns.decorator;

/**
 * 为普通的人装饰唱歌功能
 * ConcreteDecorator具体装饰角色
 * @author huangke
 *
 */
public class SingPeopleConcreteDecorator extends PeopleDecorator{

	public SingPeopleConcreteDecorator(PeopleComponent people) {
		super(people);
	}
	
	@Override
	public void doing() {
		super.doing();
		sing();
	}
	
	public void sing(){
		System.out.println("会唱歌");
	}

}
